<template>
    <div>
         <template>
    <el-table
      :data="Evaluation"
      style="width: 100%">
      <el-table-column
        prop="WorkerName"
        label="职工名称"
        width="180">
      </el-table-column>
      <el-table-column
        prop="CourseName"
        label="课程名称"
        width="180">
      </el-table-column>
      <el-table-column
        prop="address"
        label="地址">
      </el-table-column>
    </el-table>
  </template>
    </div>
</template>

<script>
export default {
    data() {
        return {
            Evaluation:[],
            user:"",
        };
    },
    created() {
        this.GetWorkerEvaluation()
    },
    mounted() {
    },
    methods: {
        GetWorkerEvaluation(){
            this.user = JSON.parse(sessionStorage.getItem("user"))
            this.$axios({
             method:'get',
             url:this.$api.GetWorkerEvaluation,
            data:{},
            params:{
                token:this.user.Token,
            },
             }).then((res)=>{
             console.log(res)
             this.Evaluation = res.data.message;
            })
        }
    }
};
</script>

<style scoped>

</style>
